package com.example.demo.dao;

import com.example.demo.enty.Order;
import com.example.demo.enty.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Component;

@Component
public interface OrderDao  extends JpaRepository<Order,Long>
        , JpaSpecificationExecutor<Order>
        , PagingAndSortingRepository<Order,Long>, QuerydslPredicateExecutor<Order> {
}
